﻿using System;
using Epam.PeopleInterfaces;

namespace JsonModel
{
    public class NewsJsonAdapter:INewsJsonAdapter
    {
        public Guid Id {get; set;}

        public string Title {get;set;}

        public string Text {get;set;}

        public string Created {get;set;}

        public NewsJsonAdapter()
        {
            
        }

        public NewsJsonAdapter(Guid id,string title,string text,string created)
        {
            Id = id;
            Title = title;
            Text = text;
            Created = created;
        }
    }
}
